inherited fmWarehouseCheckInfo: TfmWarehouseCheckInfo
  Caption = #30424#28857#21333
  PixelsPerInch = 96
  TextHeight = 13
  inherited lcMain: TdxLayoutControl
    inherited lblCreateDate: TRzDBLabel
      Left = 663
      Top = 365
      DataField = 'dwhc_cratedate'
      DataSource = dsBase
      ExplicitLeft = 663
      ExplicitTop = 365
    end
    inherited lblCreateStaff: TRzDBLabel
      Left = 663
      Top = 345
      DataField = 'dwhc_createstaff'
      DataSource = dsBase
      ExplicitLeft = 663
      ExplicitTop = 345
    end
    inherited lblModifyDate: TRzDBLabel
      Left = 527
      Top = 365
      DataField = 'dwhc_modifydate'
      ExplicitLeft = 527
      ExplicitTop = 365
    end
    inherited lblModifyStaff: TRzDBLabel
      Left = 527
      Top = 345
      DataField = 'dwhc_modifystaff'
      ExplicitLeft = 527
      ExplicitTop = 345
    end
    object cxDBTextEdit3: TRzDBEdit [4]
      Left = 611
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dwhc_whstaff'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 6
    end
    object cxDBDateEdit1: TRzDBDateTimeEdit [5]
      Left = 59
      Top = 52
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dwhc_sdate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 1
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBDateEdit2: TRzDBDateTimeEdit [6]
      Left = 255
      Top = 52
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dwhc_cldate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 3
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBMemo1: TRzDBMemo [7]
      Left = 427
      Top = 52
      Width = 120
      Height = 21
      DataField = 'dwhc_remark'
      DataSource = dsBase
      TabOrder = 5
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBTextEdit1: TRzDBEdit [8]
      Left = 59
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dwhc_no'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 0
    end
    object cxDBTextEdit2: TRzDBEdit [9]
      Left = 427
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dwhc_whname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 4
    end
    object cbxStaff: TRzDBComboBox [10]
      Left = 255
      Top = 28
      Width = 120
      Height = 21
      DataField = 'dwhc_staff'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 2
      OnDropDown = cbxStaffDropDown
    end
    inherited pcDetails: TcxPageControl
      Top = 110
      Width = 734
      TabOrder = 7
      ExplicitTop = 110
      ExplicitWidth = 734
      ClientRectRight = 734
      inherited cxTabSheet1: TcxTabSheet
        ExplicitWidth = 734
        inherited grdDetails: TcxGrid
          Width = 734
          ExplicitWidth = 734
          inherited tvDetails: TcxGridDBBandedTableView
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                Column = tvDetailsColumn1
              end
              item
                Kind = skCount
                Column = tvDetailsColumn2
              end
              item
                Kind = skSum
                Column = tvDetailsColumn6
              end
              item
                Kind = skSum
                Column = tvDetailsColumn7
              end
              item
                Kind = skSum
                Column = tvDetailsColumn8
              end
              item
                Kind = skSum
                Column = tvDetailsGwAmt
              end
              item
                Kind = skSum
                Column = tvDetailsAmt
              end
              item
                Kind = skSum
                Column = tvDetailsAmtRmb
              end>
            Bands = <
              item
              end
              item
                Visible = False
              end>
            object tvDetailsColumn1: TcxGridDBBandedColumn [0]
              Caption = '#'
              DataBinding.FieldName = 'dwci_serial'
              Visible = False
              Width = 45
              Position.BandIndex = 0
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn2: TcxGridDBBandedColumn [1]
              Caption = #20869#37096#32534#21495
              DataBinding.FieldName = 'dwci_productno'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Kind = bkEllipsis
                end>
              Properties.ReadOnly = True
              Properties.OnButtonClick = tvDetailsColumn2PropertiesButtonClick
              Width = 100
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn3: TcxGridDBBandedColumn [2]
              Caption = #20135#21697#21517#31216
              DataBinding.FieldName = 'dwci_productname'
              Options.Editing = False
              Width = 109
              Position.BandIndex = 0
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsColumn4: TcxGridDBBandedColumn [3]
              Caption = #33521#25991#21697#21517
              DataBinding.FieldName = 'dwci_productenname'
              Options.Editing = False
              Width = 101
              Position.BandIndex = 0
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
            object tvDetailsColumn5: TcxGridDBBandedColumn [4]
              Caption = #21333#20301
              DataBinding.FieldName = 'dwci_unit'
              Options.Editing = False
              Position.BandIndex = 0
              Position.ColIndex = 7
              Position.RowIndex = 0
            end
            object tvDetailsColumn6: TcxGridDBBandedColumn [5]
              Caption = #36134#38754#25968#37327
              DataBinding.FieldName = 'dwci_sqty'
              Options.Editing = False
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 8
              Position.RowIndex = 0
            end
            object tvDetailsColumn7: TcxGridDBBandedColumn [6]
              Caption = #23454#38469#25968#37327
              DataBinding.FieldName = 'dwci_aqty'
              Width = 75
              Position.BandIndex = 0
              Position.ColIndex = 9
              Position.RowIndex = 0
            end
            object tvDetailsColumn8: TcxGridDBBandedColumn [7]
              Caption = #30408#20111#25968
              DataBinding.FieldName = 'dwci_qtylose'
              Options.Editing = False
              Width = 82
              Position.BandIndex = 0
              Position.ColIndex = 10
              Position.RowIndex = 0
            end
            object tvDetailsColumn9: TcxGridDBBandedColumn [8]
              Caption = #22791#27880
              DataBinding.FieldName = 'dwci_remark'
              Width = 123
              Position.BandIndex = 0
              Position.ColIndex = 16
              Position.RowIndex = 0
            end
            inherited tvDetailsColumnLast: TcxGridDBBandedColumn
              Position.BandIndex = 0
              Position.ColIndex = 17
              Position.RowIndex = 0
            end
            inherited tvDetailsOrder: TcxGridDBBandedColumn
              Position.ColIndex = 18
            end
            object tvDetailsColumn10: TcxGridDBBandedColumn
              Caption = #22411#21495#25551#36848
              DataBinding.FieldName = 'dwci_productdesc'
              Options.Editing = False
              Width = 127
              Position.BandIndex = 0
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsColumn11: TcxGridDBBandedColumn
              Caption = #20135#21697#22411#21495
              DataBinding.FieldName = 'dwci_productrealno'
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvDetailsPrice: TcxGridDBBandedColumn
              Caption = #21333#20215
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = ',0.00;-,0.00'
              Width = 70
              Position.BandIndex = 0
              Position.ColIndex = 13
              Position.RowIndex = 0
            end
            object tvDetailsAmt: TcxGridDBBandedColumn
              Caption = #37329#39069
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = ',0.00;-,0.00'
              Width = 70
              Position.BandIndex = 0
              Position.ColIndex = 14
              Position.RowIndex = 0
            end
            object tvDetailsGw: TcxGridDBBandedColumn
              Caption = #27611#37325
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = ',0.00;-,0.00'
              Visible = False
              Width = 70
              Position.BandIndex = 0
              Position.ColIndex = 19
              Position.RowIndex = 0
            end
            object tvDetailsGwAmt: TcxGridDBBandedColumn
              Caption = #27611#37325#23567#35745
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = ',0.00;-,0.00'
              Visible = False
              Width = 70
              Position.BandIndex = 0
              Position.ColIndex = 20
              Position.RowIndex = 0
            end
            object tvDetailsColumn12: TcxGridDBBandedColumn
              Caption = #20013#25991#21697#21517
              DataBinding.FieldName = 'dwci_productcnname'
              Width = 70
              Position.BandIndex = 0
              Position.ColIndex = 5
              Position.RowIndex = 0
            end
            object tvDetailsColumn13: TcxGridDBBandedColumn
              Caption = #38144#21806#24065#21035
              Width = 60
              Position.BandIndex = 0
              Position.ColIndex = 11
              Position.RowIndex = 0
            end
            object tvDetailsColumn14: TcxGridDBBandedColumn
              Caption = #27719#29575
              Width = 60
              Position.BandIndex = 0
              Position.ColIndex = 12
              Position.RowIndex = 0
            end
            object tvDetailsAmtRmb: TcxGridDBBandedColumn
              Caption = #37329#39069#25240'RMB'
              Position.BandIndex = 0
              Position.ColIndex = 15
              Position.RowIndex = 0
            end
          end
        end
      end
    end
    inherited lcgRoot: TdxLayoutGroup
      Index = -1
    end
    inherited lcgBaseInfoNormal: TdxLayoutGroup
      Index = 0
    end
    inherited lcgBaseInfoLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 0
    end
    inherited lcgBaseInfoMiddle: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 1
    end
    inherited lcgBaseInfoRight: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 2
    end
    inherited lcgBaseInfoLast: TdxLayoutGroup
      Index = 3
    end
    inherited lcgDetails: TdxLayoutGroup
      Index = 1
    end
    inherited lcpcDetails: TdxLayoutItem
      Index = 0
    end
    inherited lcgArchive: TdxLayoutGroup
      Index = 2
    end
    inherited lcArchive2: TdxLayoutGroup
      Index = 0
    end
    inherited lcitemModifyStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemModifyDate: TdxLayoutItem
      Index = 1
    end
    inherited lcgArchive1: TdxLayoutGroup
      Index = 1
    end
    inherited lcitemCreateStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemCreateDate: TdxLayoutItem
      Index = 1
    end
    object lcMainItem1: TdxLayoutItem
      CaptionOptions.Text = #30424#28857#21333#21495
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem5: TdxLayoutItem
      CaptionOptions.Text = #24320#22987#26085#26399
      Parent = lcgBaseInfoLeft
      Control = cxDBDateEdit1
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem2: TdxLayoutItem
      CaptionOptions.Text = #30424#28857#20154
      Parent = lcgBaseInfoMiddle
      Control = cbxStaff
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem6: TdxLayoutItem
      CaptionOptions.Text = #32467#26463#26085#26399
      Parent = lcgBaseInfoMiddle
      Control = cxDBDateEdit2
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem3: TdxLayoutItem
      AlignHorz = ahClient
      CaptionOptions.Text = #20179#24211
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoRight
      Control = cxDBTextEdit2
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem3CaptionClick
      Index = 0
    end
    object lcMainItem7: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcgBaseInfoRight
      Control = cxDBMemo1
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem4: TdxLayoutItem
      AlignHorz = ahClient
      CaptionOptions.Text = #20179#31649#21592
      Parent = lcgBaseInfoLast
      Control = cxDBTextEdit3
      ControlOptions.ShowBorder = False
      Index = 0
    end
  end
  inherited pnlRight: TPanel
    inherited frameAttachs: TfrmAttachs
      inherited bmAttachs: TdxBarManager
        DockControlHeights = (
          0
          0
          26
          0)
      end
    end
  end
  inherited BarManager: TdxBarManager
    DockControlHeights = (
      0
      0
      26
      0)
    inherited BarMain: TdxBar
      ItemLinks = <
        item
          Visible = True
          ItemName = 'bbtnNew'
        end
        item
          Visible = True
          ItemName = 'bbtnEdit'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'bbtnCopy'
        end
        item
          Visible = True
          ItemName = 'bbtnRefresh'
        end
        item
          Visible = True
          ItemName = 'bbtnDelete'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnSave'
        end
        item
          Visible = True
          ItemName = 'bbtnCancel'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnFirst'
        end
        item
          Visible = True
          ItemName = 'bbtnPrev'
        end
        item
          Visible = True
          ItemName = 'bbtnNext'
        end
        item
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnLast'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnPrint'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnAttach'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnCheckRequest'
        end
        item
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnCheck'
        end>
    end
    object bbtnCheckRequest: TdxBarButton
      Caption = #30003#35831#23457#25209
      Category = 0
      Hint = #30003#35831#23457#25209
      Visible = ivAlways
      ImageIndex = 167
      OnClick = bbtnCheckRequestClick
    end
    object bbtnCheck: TdxBarButton
      Caption = #23457#25209
      Category = 0
      Hint = #23457#25209
      Visible = ivAlways
      ImageIndex = 225
      OnClick = bbtnCheckClick
    end
  end
  inherited tblBase: TDAMemDataTable
    Fields = <
      item
        Name = 'dwhc_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dwhc_no'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dwhc_sdate'
        DataType = datDateTime
      end
      item
        Name = 'dwhc_cldate'
        DataType = datDateTime
      end
      item
        Name = 'dwhc_whid'
        DataType = datGuid
      end
      item
        Name = 'dwhc_whname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dwhc_whstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dwhc_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dwhc_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dwhc_cratedate'
        DataType = datDateTime
      end
      item
        Name = 'dwhc_checkrequeststaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dwhc_checkrequestid'
        DataType = datGuid
      end
      item
        Name = 'dwhc_modifystaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dwhc_modifydate'
        DataType = datDateTime
      end
      item
        Name = 'dwhc_checkstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dwhc_checkdate'
        DataType = datDateTime
      end
      item
        Name = 'dwhc_remark'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dwhc_state'
        DataType = datString
        Size = 20
      end>
    LogicalName = 'd_warehousecheck'
  end
  inherited dsBase: TDADataSource
    DataSet = tblBase.Dataset
  end
  inherited tblDetails: TDAMemDataTable
    Fields = <
      item
        Name = 'dwci_whcid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dwci_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dwci_productid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dwci_productno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dwci_productrealno'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dwci_productname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dwci_productcnname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dwci_productenname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dwci_productdesc'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dwci_unit'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dwci_sqty'
        DataType = datFloat
      end
      item
        Name = 'dwci_aqty'
        DataType = datFloat
        OnValidate = tblDetailsdwci_aqtyValidate
      end
      item
        Name = 'dwci_qtylose'
        DataType = datFloat
      end
      item
        Name = 'dwci_remark'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dwci_whid'
        DataType = datGuid
      end
      item
        Name = 'dwci_sellmcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dwci_sellrate'
        DataType = datFloat
      end
      item
        Name = 'dwci_sellprice'
        DataType = datFloat
      end
      item
        Name = 'dwci_sellamt'
        DataType = datFloat
      end
      item
        Name = 'dwci_sellamtrmb'
        DataType = datFloat
      end>
    MasterMappingMode = mmWhere
    BeforePost = tblDetailsBeforePost
    MasterSource = dsBase
    MasterFields = 'dwhc_id'
    DetailFields = 'dwci_whcid'
    LogicalName = 'd_warehousecheckitem'
  end
  inherited dsDetails: TDADataSource
    DataSet = tblDetails.Dataset
  end
  inherited cxEditStyleController1: TcxEditStyleController
    PixelsPerInch = 96
  end
  inherited cxStyleRepository2: TcxStyleRepository
    PixelsPerInch = 96
  end
  inherited cxStyleRepository3: TcxStyleRepository
    PixelsPerInch = 96
  end
end
